]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Make sure to show the app menu button after unlocking the screen
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 1 Sep 2012 11:44:51 +0000 (08:44 -0300)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 3 Sep 2012 22:24:11 +0000 (19:24 -0300)
I'm not sure how we missed this one.

https://bugzilla.gnome.org/show_bug.cgi?id=683154

js/ui/panel.js

index 2b24e3ff1fc880c70c06f7df2dac8e0d6210ef74..a3a6aac66a1257b6afe9d80fa841b87dbcea70a7 100644 (file)
@@ -469,10 +469,12 @@ const AppMenuButton = new Lang.Class({
     },
 
     setLockedState: function(locked) {
-        if (locked)
+        if (locked) {
             this.hide();
-        else
+        } else {
+            this.show();
             this._sync();
+        }
     },
 
     _sync: function() {